package com.example.zhaojianxu.signin.car.main

import android.os.Bundle
import android.view.View
import com.example.zhaojianxu.signin.R
import com.example.zhaojianxu.signin.bean.BaseActivity
import com.example.zhaojianxu.signin.car.leasecar.LeaseCarActivity
import com.example.zhaojianxu.signin.car.mycar.MyCarActivity
import com.example.zhaojianxu.signin.common.info.InfoActivity
import kotlinx.android.synthetic.main.activity_car_main.*
import kotlinx.android.synthetic.main.common_title_bar.*

class CarMainActivity : BaseActivity() {

    override fun initView() {

        common_back.visibility = View.GONE
        common_setting.visibility = View.GONE

        activity_car_main_1.setOnClickListener {
            toOtherActivity(LeaseCarActivity::class.java)
        }
        activity_car_main_2.setOnClickListener {
            toOtherActivity(MyCarActivity::class.java)
        }
        activity_car_main_3.setOnClickListener {
            toOtherActivity(InfoActivity::class.java)
        }
    }

    override fun initData() {

    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_car_main)
    }
}
